package com.love.marriage.userLoginInfo.mapper;

import com.love.marriage.userLoginInfo.entity.UserLoginInfo;
import com.love.marriage.userLoginInfo.vo.UserLoginInfoVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import com.love.marriage.common.interfaces.permission.DataPermission;

/**
 * description:  用户登录历史表 mapper
 * author:       mybatisPlus
 * createDate:   2024-10-12 11:25:06
 * version:      1.0.0
 */
@Mapper
public interface UserLoginInfoMapper extends BaseMapper<UserLoginInfo> {

    @DataPermission(table = "user_login_info_t")
    Page<UserLoginInfoVo> getPage(Page<UserLoginInfoVo> page, @Param("userLoginInfoVo") UserLoginInfoVo userLoginInfoVo);

    UserLoginInfoVo queryUserLoginInfo(@Param("id") Long id);
}
